- 
		Home
	
 
	- 
Translate WordPress and go Multilingual – Weglot
 
- 
3.3.6
 
- 
Code
 
- 
Classes
 
-  Translate_Service_Weglot 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											25 | 
										
																			
											| Dependencies | 
											9 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											197 | 
										
																			
											| Lines of code | 
											94 | 
										
																			
											| Logical lines of code | 
											64 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											71 | 
										
																			
											| Methods | 
											8 | 
										
																			
											| Properties | 
											9 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| weglot_treat_page() | 
									A  | 
																	43 | 
													12 | 
													47 | 
							
					
				| weglot_render_dom() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| get_canonical_url_from_content() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| __construct() | 
									S  | 
																	66 | 
													1 | 
													8 | 
							
					
				| weglot_translate() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_current_language() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| set_original_language() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| remove_comments() | 
									S  | 
																	79 | 
													1 | 
													3 |